﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model {
public class Marketing_User {
    /// <summary>
    /// 用户对应公众号的OpenId
    /// </summary>
	[Property("Key")]
	public string OpenID { get; set; }
    public int ID { get; set; }

    /// <summary>
    /// 微信名
    /// </summary>
	public string Nickname { get; set; }
    /// <summary>
    /// 性别
    /// </summary>
	public int Sex { get; set; }
    /// <summary>
    /// 国家
    /// </summary>
	public string Country { get; set; }
    /// <summary>
    /// 省
    /// </summary>
	public string Provnice { get; set; }
    /// <summary>
    /// 市
    /// </summary>
	public string City { get; set; }
    /// <summary>
    /// 语言
    /// </summary>
	public string Language { get; set; }
    /// <summary>
    /// 头像
    /// </summary>
	public string HeadImgUrl { get; set; }
    /// <summary>
    /// 最新活动时间
    /// </summary>
	public DateTime OA_Time { get; set; }

	public int UnionId { get; set; }
   /// <summary>
   /// 分组ID
   /// </summary>
	public int GroupID { get; set; }
    
	public string Phone { get; set; }
	public string Name { get; set; }

    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 参与活动次数
    /// </summary>
    [NotMapped]
    public string count { get; set; }
	}
}
